package com.wxproject.demo.Mapper;


import com.wxproject.demo.Entity.Model.PostDO;
import com.wxproject.demo.Entity.VO.Post.PagePostVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface PostMapper {

     Integer createPost(PostDO PostDO);

     List<PagePostVO> getPostByPage(int start, int size);
}
